<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
  <head>
    <title>Coverband Info: <%= Coverband::VERSION %></title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <script src='<%= assets_path('application.js') %>' type='text/javascript'></script>
    <link href='<%= assets_path('application.css') %>' media='screen, projection, print' rel='stylesheet' type='text/css'>
    <link rel="icon" type="image/png" href="<%= assets_path('favicon.png') %>" />
  </head>

  <body>
    <div id="wrapper" style="">
      <div id="header">
        <a href='<%= base_path %>'>Coverband Home</a> &nbsp;
        <a href='<%= base_path %>settings'>Configuration</a> &nbsp;
      </div>
      <div id="content">
        <dl>
        <% Coverband.configuration.to_h.each_pair do |key,value| %>
          <dt><%= key %></dt>
          <dd><%= value %></dd>
        <% end %>

        <dt>Size (in bytes)</dt>
        <dd><%= Coverband.configuration.store.size %></dd>
        <dt>Size (in MiB)</dt>
        <dd><%= Coverband.configuration.store.size_in_mib %></dd>
        </dl>
      </div>
      <div id="footer">
        Generated by <a href="http://github.com/danmayer/coverband">Coverband</a> v<%= Coverband::VERSION %>
      </div>
    </div>
  </body>
</html>
